import request from '@/utils/request'


export function getSetList() {
  return request({
    url: '/api/set/list',
    method: 'get'
  })
}

export function addSet(data) {
  return request({
    url: '/api/set/add',
    method: 'post',
    data
  })
}

export function updSet(data) {
  return request({
    url: '/api/set/upd',
    method: 'post',
    data
  })
}

export function delSet(data) {
  return request({
    url: '/api/set/del',
    method: 'post',
    data
  })
}
